<template>
<div class="brand">
    <h4>品牌制造商直供</h4>
    <ul>
        <li v-for="item in brandList" :key="item.id">
            <img :src="item.list_pic_url" alt="">
            <p>{{item.name}}</p>
            <span>{{item.floor_price|formatMoney}}</span>
        </li>
    </ul>
</div>
</template>

<script>
export default {
name: 'Brand',
data() {
return {

}
},
props:['brandList'],
components: {

},
methods: {

},
created() {

},
}
</script>

<style lang='less' scoped>
.brand{
    font-size: 16px;
    h4{
        text-align: center;
        height: 50px;
        line-height: 50px;
        color: #000;
        font-size: 22px;
    }
    ul{
        display: flex;
        justify-content: space-between;
        flex-wrap:wrap ;
      li{
            width: 49%;
            padding-bottom: 7px;
            position: relative;
            img{
                width: 100%;
                display: block;
            }
            p{
                position: absolute;
                top: 10px;
                left: 10px;
            }
            span{
                position: absolute;
                top: 35px;
                left: 10px;
                color: rgb(155, 9, 9);
            }
      }
    }
}
</style>